@(comentario:Set[Comentario]) 
@import helper._ 
@import helper.twitterBootstrap._ 

@main("Exibir o comentario") {
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">


<ul>
	@for(comentario <- comentario.toList){

	<li><b>Login:</b> @comentario.login</li>
	<li><b>Comentário:</b> <br>@comentario.comentario</li>
	
	
		@if(session.get("login").equalsIgnoreCase(comentario.login)){
		<li class="thumbnails">
			@helper.form(action=routes.Comentarios.deletar()){ 
				<input type="hidden" name="idcomentario" value="@comentario.idcomentario" />
				<button type="submit" class="btn btn-danger">Deletar</button></li>
			}
			
		}
	<li class="thumbnails"><form action="/filme/@comentario.idfilmania" method="GET">
		<button type="submit" class="btn btn-danger">Voltar</button>
	</form><li>
	}
</ul>
}